<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关于我们 - 深圳市零刻云科技有限公司</title>
    <meta name="keywords" content="关于我们 - 深圳市零刻云科技有限公司" />
    <meta name="description" content="关于我们 - 深圳市零刻云科技有限公司" />
    <!-- 引入样式 -->
    <!-- import CSS -->
    <link rel="stylesheet" href="/Web/element.css">
    <link rel="stylesheet" href="/Web/common.css">
    <!-- /* 当屏幕的宽度大于等于400px的时候，应用 mini.css */ -->
<!--    <link rel="stylesheet" type="text/css" href="mini.css" media="screen and (min-width: 400px)">-->
<!--    &lt;!&ndash; /* 当屏幕的宽度大于600 小于800px时，应用small.css */ &ndash;&gt;-->
<!--    <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 600px) and (max-width: 800px)">-->
<!--    &lt;!&ndash; /* 当屏幕的宽度大于800 小于1100px时，应用midium.css */ &ndash;&gt;-->
<!--    <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 800px) and (max-width: 1100px)">-->

    <style>
        *{margin: 0;padding: 0;}
        .el-image__inner{
            vertical-align:middle
        }
        h3{font-size: 42px;font-weight: normal;margin:65px 0}
        h4{font-size: 30px;color: #676767;font-weight: normal;margin-top: 50px;}
        .content{padding-top: 100px;padding-bottom: 228px;}
        .el-form>div{justify-content: space-between;margin-top: 36px;}
        .el-form .el-form-item{width: 32%;height:68px;margin-bottom: 0;}
        .el-form .el-input__inner{height: 68px;border: 0;font-size: 20px;border-radius: 3px;}
        .el-textarea__inner{border: 0;font-size: 24px;border-radius: 3px;font-family: Arial;padding-top: 30px;}
        .el-form .textareaBox,.el-textarea,.textareaBox .el-form-item.el-form-item--feedback,.el-textarea__inner{width: 100%;height: 250px;border: 0;border-radius: 3px;}
        .el-form>.checkBox{display: flex;justify-content: flex-start;}
        .el-form>.checkBox .el-form-item.el-form-item--feedback{width: 100%;}
        .el-form>.checkBox .el-form-item__content{display: flex;}
        .checkBox .el-input__inner, .checkBox .el-input{width: 418px;}
        .checkBox .el-image{width: 192px;height: 68px;margin: 0 20px;}
        .checkBox span.iconfont{font-size: 42px;color: #000;transform: rotate(54deg);text-align: center;line-height: 68px;height: 68px;}
        .checkBox span:hover{cursor: pointer;transform: rotate(24deg);transition: all 0.5s;}
        .checkBox .el-button.el-button--primary{width: 184px;height: 68px;border-radius: 68px;background: #474747;color: #fff;line-height: 68px;padding: 0;font-size: 30px;}
        .contentclass{font-size: 16px;color: #676767;font-weight: normal;margin-top: 30px;line-height: 35px;text-indent: 2em;}
        .contentclass p{text-indent: 2em;}
        contentclass .h3{font-size: 18px;}
    </style>
    <link rel="stylesheet" href="/Web/common.css">
</head>
<body>
    <div id="app" class="mainBg" v-cloak>
        <!-- 导航栏 -->
        <include file="Public/header" />



        <el-row class="flexBox">
            <el-col :span="19" style="margin: auto;"><div class="content">
              <!-- 公司介绍 -->
                <h3 class="mainColor">{{language.company}}</h3>
                <el-skeleton style="width:400px" >
                  <template slot="template">
                    <img src="/Web/img/gongsi.png" width="400">
                  </template>
                </el-skeleton>
                <div class="contentclass" v-html="language['companyIntro']"></div>


                <h3 class="mainColor">{{language.products}}</h3>
                <el-skeleton style="width:1522px" >
                  <template slot="template">
                      <img src="/Web/img/chanpin1.png" width="1522">
                  </template>
                </el-skeleton>
                <div class="contentclass" v-html="language['productIntro']"></div>
                <!-- 提交合作或者问题 -->
                <h4>{{language.formTitle}}</h4>
                <el-form :model="ruleForm" label-width="0" status-icon  ref="ruleForm" label-width="100px" class="demo-ruleForm">
                    <div class="flexBox"><el-form-item prop="name">
                      <el-input type="text" :placeholder="language.name" v-model="ruleForm.name" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item  prop="email">
                      <el-input type="text" :placeholder="language.email"  v-model="ruleForm.email" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item  prop="phoneNumber">
                      <el-input type="text" :placeholder="language.phoneNumber"  v-model.number="ruleForm.phoneNumber"></el-input>
                    </el-form-item>
                    </div>
                    <div class="textareaBox">
                        <el-form-item><el-input resize="none" type="textarea" :placeholder="language.suggestionsPlaceholder" v-model="ruleForm.desc"></el-input>
                        </el-form-item>
                    </div>
                    <div class="checkBox">
                        <el-form-item>
                            <el-input :placeholder="language.checkCode" v-model="ruleForm.checkCode"></el-input>
                            <img :src="yzm" style="width: 200px; height: 68px; margin: 0 50px;" @click="verifyimg" />
                            <!--<span class="iconfont" @click="verifyimg">&#xe64c;</span>-->
                        </el-form-item>
                        <el-button type="primary" @click="submitForm('ruleForm')">{{language.submit}}</el-button>
                    </div>
                </el-form>
            </div></el-col>
        </el-row>
        <my-footer></my-footer>

    </div>
    <script src="/Web/localLang.js"></script>
    <script src="/Web/js/vue.js"></script>
    <script src="/Web/js/element-ui.js"></script>
    <script src="/Web/drawer.js"></script>
    <script src="/Web/header.js"></script>
    <script src="/Web/footer.js"></script>
    <script>
        new Vue({
            el: '#app',
            data: {
                yzm:"{:U('verify')}",
                loading: false,
                resizable: false,
                index: 0,
                visible:false,
                lists:[],
                ruleForm:{},
                pageId:4,
                lang:Number(localStorage.getItem('langType')),
                hoverItem:0,
                proList:{:json_encode($menuGoods)}
            },
            mounted(){
                this.lists = [
                {
                  imgUrl:
                    'https://fuss10.elemecdn.com/a/3f/3302e58f9a181d2509f3dc0fa68b0jpeg.jpeg',
                  name: '鹿',
                },
                {
                  imgUrl:
                    'https://fuss10.elemecdn.com/1/34/19aa98b1fcb2781c4fba33d850549jpeg.jpeg',
                  name: '马',
                },
                {
                  imgUrl:
                    'https://fuss10.elemecdn.com/0/6f/e35ff375812e6b0020b6b4e8f9583jpeg.jpeg',
                  name: '山狮',
                },
              ]
            },
            methods: {
                changePage(item){
                    // $emit('changePage',id)
                    if(item.id===1)return
                    if(item.drop===true)return
                    window.location.href=item.href
                },
                changeLanguage(){
                    this.lang = Number(!Number(localStorage.getItem('langType')));
                    // this.$parent.parentChangeLang(this.lang?'zh-CN':'en')
                    localStorage.setItem('langType',this.lang)
                    document.cookie = "langType="+this.lang;
                    window.location.reload()
                },
                verifyimg(){
                    this.yzm = "{:U('verify')}?id=1&random="+Math.random()
                },
                submitForm(){
                    var name = this.ruleForm.name;
                    var email = this.ruleForm.email;
                    var phoneNumber = this.ruleForm.phoneNumber;
                    var desc = this.ruleForm.desc;
                    var checkCode = this.ruleForm.checkCode;
                    if(!name || !email || !phoneNumber || !desc || !checkCode){
                        alert("信息资料不完整~")
                        return false;
                    }

                    const namePattern = /^[a-zA-Z\u4e00-\u9fa5]+$/; // 匹配中文或英文字母的姓名
                    const emailPattern = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/; // 匹配邮箱格式
                    const phonePattern = /^1[3-9]\d{9}$/; // 匹配中国大陆手机号格式

                    if (!namePattern.test(name)) {
                        alert("姓名格式不正确，请检查");
                        return false;
                    }

                    if (!emailPattern.test(email)) {
                        alert("邮箱格式不正确，请检查");
                        return false;
                    }

                    if (!phonePattern.test(phoneNumber)) {
                        alert("手机号格式不正确，请检查");
                        return false;
                    }

                    //console.log(name,email,phoneNumber,desc,checkCode)
                    urldata = "name="+name+"&email="+email+"&phoneNumber="+phoneNumber+"&desc="+desc+"&checkCode="+checkCode
                    window.location.href = "{:U('about_sub')}?"+urldata;
                }
            },
            computed:{

                language(){
                    return LANG[this.lang]
                },
                list(){
                    return [
                        {id:0,drop:false,text:LANG[this.lang].home,href:'/'},
                        <volist name="menuGoods" id="vo" key="k">
                            {id:{$vo['gc_id']},drop:true, text:'{$vo['gc_name']}',href:"{:U('detail',['gc_id'=>$vo['gc_id']])}"},
                        </volist>
                        {id:3,drop:false,text:LANG[this.lang].quality,href:"{:U('qualification')}"},
                        {id:4,drop:false,text:LANG[this.lang].about,href:"{:U('about')}"},
                        {id:5,drop:false,text:LANG[this.lang].support,href:"{:U('support')}"},
                    ]},
            },
        });
      </script>
</body>
</html>